//Game Engine Class Source File
//Class for handling the various Engine cores of the game

	//Include Files//
#include "GameEngine.hpp"

	//Globals & Constants//

/**********************************************************************************************************************\
|	GameEngine:	Default Constructor																					   |
\**********************************************************************************************************************/
GameEngine::GameEngine()
{
	m_DX.SetVisibility(true);
}	//End Default Constructor

/**********************************************************************************************************************\
|	GameEngine:	Initialize Function																					   |
\**********************************************************************************************************************/
void GameEngine::Init(HWND hWnd)
{
	if(m_DX.Visible())
		m_DX.Init(hWnd);
}	//End Init()

/**********************************************************************************************************************\
|	GameEngine:	Update Funtion																						   |
\**********************************************************************************************************************/
void GameEngine::Update()
{
	if(m_DX.Visible())
		m_DX.Update();
}	//End Update()

/**********************************************************************************************************************\
|	GameEngine:	Render Funtion																						   |
\**********************************************************************************************************************/
void GameEngine::Render()
{
	if(m_DX.Visible())
		m_DX.Render();
}	//End Render()

/**********************************************************************************************************************\
|	GameEngine:	Exit Funtion																						   |
\**********************************************************************************************************************/
void GameEngine::Exit()
{
	if(m_DX.Visible())
		m_DX.Exit();
}	//End Exit()

/**********************************************************************************************************************\
|	GameEngine:	Destructor																							   |
\**********************************************************************************************************************/
GameEngine::~GameEngine()
{

}	//End Destructor